Skip to content

feat(modules): promote xlsx to builtin module#86

Merged
simongdavies merged 2 commits intohyperlight-dev:mainfrom
simongdavies:xlsx-builtin
Apr 28, 2026
Merged

feat(modules): promote xlsx to builtin module#86
simongdavies merged 2 commits intohyperlight-dev:mainfrom
simongdavies:xlsx-builtin

Conversation

@simongdavies
Copy link
Copy Markdown
Member

This pull request introduces the new ha:xlsx module for Excel workbook generation and updates documentation and skill guidance to support its use. It also standardizes allowed tool lists across multiple skills, enhances documentation formatting, and clarifies best practices and usage patterns for report building and document generation.

New module and integration:

  • Added the ha:xlsx module for creating Excel XLSX workbooks, with comprehensive metadata, usage patterns, critical rules, and anti-patterns. This includes updates to module listings, documentation tables, and TypeScript config to enable importing ha:xlsx.
  • Updated related modules and integration hints for ha:xml-escape and ha:zip-format to reference ha:xlsx as a consumer/peer.

Skill documentation improvements:

  • Added ha:xlsx as a recommended module for tabular data export in the Data Processor and Report Builder skills, with guidance for binary output and profile usage.
  • Expanded documentation in PDF Expert and PPTX Expert skills, clarifying structure, validation, formatting, and color rules, and improved table formatting for clarity.

Standardization of allowed tools:

  • Synchronized and expanded allowed-tools lists across skills including API Explorer, Data Processor, MCP Services, PDF Expert, PPTX Expert, Report Builder, and Research Synthesiser for consistent sandbox and plugin capabilities.

Documentation formatting and workflow clarifications:

  • Improved Markdown table formatting for module and API documentation, clarified workflow steps, and added or reworded guidance for output, pagination, and data chunking.

General enhancements:

  • Updated skill guides to clarify recommended usage patterns, critical rules, and anti-patterns for new and existing modules, and to encourage best practices in data processing, report building, and document generation.

Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 28, 2026 18:35
@simongdavies simongdavies added the enhancement New feature or request label Apr 28, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new Hyperlight builtin module (ha:xlsx) for generating Excel .xlsx workbooks, and updates skill/docs/tests to support and validate usage (including standardizing skill allowed-tools metadata).

Changes:

  • Introduces builtin-modules/src/xlsx.ts plus module metadata/config/types to expose ha:xlsx.
  • Adds sandbox integration tests that smoke-test XLSX generation and validate emitted OOXML/ZIP contents.
  • Standardizes/validates skill allowed-tools metadata (and updates multiple skill guides to reference ha:xlsx where relevant).

Reviewed changes

Copilot reviewed 17 out of 18 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
tests/sandbox-tool.test.ts Adds ZIP parsing helpers + XLSX module end-to-end sandbox tests.
tests/pattern-integrity.test.ts Validates skill allowed-tools entries against ALLOWED_TOOLS and enforces MCP tool presence.
skills/xlsx-expert/SKILL.md New skill guidance for building .xlsx with ha:xlsx.
skills/web-scraper/SKILL.md Adds allowed-tools metadata block.
skills/research-synthesiser/SKILL.md Adds allowed-tools metadata block + formatting tweaks.
skills/report-builder/SKILL.md Adds allowed-tools metadata block + references ha:xlsx for binary reports.
skills/pptx-expert/SKILL.md Expands allowed-tools list + minor formatting tweaks.
skills/pdf-expert/SKILL.md Expands allowed-tools list + Markdown table formatting adjustments.
skills/mcp-services/SKILL.md Expands allowed-tools list + minor formatting tweaks.
skills/data-processor/SKILL.md Adds allowed-tools metadata block + mentions ha:xlsx as an available module.
skills/api-explorer/SKILL.md Adds allowed-tools metadata block + improves table formatting.
builtin-modules/zip-format.json Adds ha:xlsx to related modules list.
builtin-modules/xml-escape.json Notes XLSX as a consumer of ha:xml-escape.
builtin-modules/xlsx.json New module metadata for xlsx.
builtin-modules/tsconfig.json Adds TS path mapping for ha:xlsx.
builtin-modules/src/xlsx.ts New XLSX builder implementation (workbook/sheet/styles/charts/pivots/etc.).
builtin-modules/src/types/ha-modules.d.ts Adds ambient TS declarations for ha:xlsx.
builtin-modules/CLAUDE.md Updates module list table to include xlsx.

Comment thread builtin-modules/src/xlsx.ts Outdated
Comment thread builtin-modules/src/xlsx.ts Outdated
Comment thread builtin-modules/src/xlsx.ts Outdated
Comment thread builtin-modules/src/xlsx.ts
Comment thread builtin-modules/src/xlsx.ts
Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
@simongdavies simongdavies merged commit 378b41d into hyperlight-dev:main Apr 28, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants